<template lang="html">
    <div class="rebate_item">
        <div class="left">
            <h3>{{item.product_name}}</h3>
            <div class="tag">
                <span class="price">¥{{item.product_amount}}</span>
                <span :class="item.product_type === '爆款礼包商品' ? 'tag_item other' : 'tag_item' " v-if="item.product_type">{{item.product_type}}</span>
                <span class="tag_item" v-if="item.train_type">{{item.train_type}}</span>
            </div>
            <div class="author">
                <span>{{item.user_nickname}}</span>
                <span>{{item.create_at}}</span>
            </div>
            <div class="author" v-if="item.share_name">分享人： {{item.share_name}}</div>
        </div>
        <div class="right">
            <div class="rebate_money"><em v-if="item.remark === '已到账返利'">+</em> {{item.amount}}</div>
            <p class="remake">{{item.remark}}</p>
        </div>
    </div>
</template>

<script>

export default {
  props: ['item', 'item_type'],
  data () {
    return {

    }
  },
  created () {
  },
  methods: {

  }
}
</script>

<style lang="css" scoped>
</style>
